.. highlightlang:: us .. index:: @f{linkaxisscale} .. _@f{linkaxisscale}: @f{linkaxisscale} ================= .. us.tag @f{linkaxisscale} NOTREADYENGLISH fieldfunction The function calculates the formula ``scale * x + offset`` and displays the result as the new axis scale based on a axis given by the diagram name and axis type (x,y,z). The field function has to be added to axis title which shows the new scale. Example: The y-axis of the diagram ``Diagram1`` displays power in ``KW``. To add an horsepower axis create a new diagram and insert the following text into the y axis title: .. highlight:: none :: @f{linkaxisscale(Diagram1, y, 1.36, 0)}Power in HP .. highlight:: us .. function:: @f{linkaxisscale(diagramname, axis, scale, offset)} .. seealso:: :ref:`overview-field-functions`, :ref:`editupdate-fields`, :ref:`diagraminsert-field-function` :sub:`id-1686311`